﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateUserPassword.aspx.cs"
    Inherits="LotteryVote.UpdateUserPassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Style/comm.css" rel="stylesheet" type="text/css" />
    <link href="Style/TableBaseStyle.css" rel="stylesheet" type="text/css" />
    <link href="Style/EditUser.css" rel="stylesheet" type="text/css" />
    <script src="JS/jquery-1.5.1.min.js" type="text/javascript"></script>
    <script src="JS/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
    <script src="JS/comm.js" type="text/javascript"></script>
    <link href="UI/start/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" style="width: 300px">
        <thead>
            <tr>
                <td colspan="2">
                    <%=GetGlobalResourceObject("Resource", "UpdatePassword")%>
                </td>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    <%=GetGlobalResourceObject("Resource","YourPassword") %>:
                </td>
                <td>
                    <asp:TextBox ID="txt_myPassword" runat="server" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <%=GetGlobalResourceObject("Resource","Password") %>:
                </td>
                <td>
                    <asp:TextBox ID="txt_password" runat="server" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <%=GetGlobalResourceObject("Resource","Confirm") %>:
                </td>
                <td>
                    <asp:TextBox ID="txt_confirPwd" runat="server" TextMode="Password"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Button ID="btn_submit" runat="server" Text="<%$Resources:Resource,Submit %>"
                        OnClick="btn_submit_Click" />
                    <input type="button" id="cancel" value='<%=GetGlobalResourceObject("Resource","Cancel") %>' />
                </td>
            </tr>
        </tbody>
    </table>
    </form>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#cancel").bind("click", function () {
                parent.reloadPage();
            });
        });
    </script>
</body>
</html>
